cmake_minimum_required(VERSION 3.22.0)

project(demo)

message(STATUS "1")

add_executable(main main.cpp)

set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin1)

message(STATUS "2  ${EXECUTABLE_OUTPUT_PATH}")

set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin2)

message(STATUS "3  ${EXECUTABLE_OUTPUT_PATH}")